// {Args: A B C}
/****************** Exercise 10 ****************
* Write a program that prints three arguments
* taken from the command line.
* You'll need to index into the command-line
* array of Strings.
***********************************************/

package thinkinginjava.everything_is_an_object;

/**
 *
 * @author vlad
 */
public class Exercise10 {
    public static void main(String [] args){
        if(args.length != 3){
            System.out.println("The program requires 3 arguments");
            System.exit(1);
        }
        System.out.println("args[0] = " + args[0]);
        System.out.println("args[1] = " + args[1]);
        System.out.println("args[2] = " + args[2]);
    }
}
